package com.farsight.leo.fssmartlock.net.bean;

/**
 * Author: Administrator
 * Date: 2019/9/17
 * Project: SmartLockApp
 * Description:
 */
public class AuthCodeData {

    /**
     * auth_code : 8268619
     * device_id : 1
     * id : 1
     * is_valid : true
     * valid_date : Wed, 18 Sep 2019 00:58:26 GMT
     */

    private String auth_code;
    private int device_id;
    private int id;
    private boolean is_valid;
    private String valid_date;

    public String getAuth_code() {
        return auth_code;
    }

    public void setAuth_code(String auth_code) {
        this.auth_code = auth_code;
    }

    public int getDevice_id() {
        return device_id;
    }

    public void setDevice_id(int device_id) {
        this.device_id = device_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isIs_valid() {
        return is_valid;
    }

    public void setIs_valid(boolean is_valid) {
        this.is_valid = is_valid;
    }

    public String getValid_date() {
        return valid_date;
    }

    public void setValid_date(String valid_date) {
        this.valid_date = valid_date;
    }

    @Override
    public String toString() {
        return "AuthCodeData{" +
                "auth_code='" + auth_code + '\'' +
                ", device_id=" + device_id +
                ", id=" + id +
                ", is_valid=" + is_valid +
                ", valid_date='" + valid_date + '\'' +
                '}';
    }
}
